#ifndef UArcBallH
#define UArcBallH
#include "stdafx.h"
#include "UVector.h"

class TArcBall {
	private:
// 		GLfloat width, height, diameter, x, y;
		TVector from;
		TVector to;
		GLUquadricObj *ballQuadric;
	public:
		TArcBall(TVector from);//GLfloat windowWidth, GLfloat windowHeight, GLfloat xPosition, GLfloat yPosition, GLfloat ballwidth);
		void update(TVector to);
		void getRotation(GLfloat& x, GLfloat& y, GLfloat& z);
		void getTranslation(GLfloat& x, GLfloat& y, GLfloat& z);
		void draw();
};

#endif
